# == Class ceph::osd
#
# Ceph OSD setup.
#
class ceph::osd {
  if !empty($::ceph::osd_disks) {
    create_resources(ceph::osd_disk, $::ceph::osd_disks)

    if ($::ceph::manage_firewall) {
      firewall { '100 Ceph OSD port range':
        dport  => '6800-7300',
        proto  => 'tcp',
        action => 'accept',
      }
    }
  }
}
